package com.fmx.BookStore.service;

import com.fmx.BookStore.domain.User;
import com.fmx.BookStore.vo.UserRequest;

import java.util.List;

public interface IUserService {
    User selectUserById(Long userId);
    List<User> listUser(User user);
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(Long userId);
    public UserRequest login(UserRequest userRequest);

    int register(UserRequest userRequest);
}
